package com.ysqcould.content.domain;


import com.ysqcould.common.annotation.Excel;
import com.ysqcould.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 轮播图对象 t_slide_show
 * 
 * @author ruoyi
 * @date 2022-06-28
 */
public class SlideShow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 协会id */
    @Excel(name = "协会id")
    private Long asId;

    /** 轮播图图片地址 */
    @Excel(name = "轮播图图片地址")
    private String pcUrl;

    /** 关联内容id */
    @Excel(name = "关联内容id")
    private Long relatedId;

    /** 链接地址 */
    @Excel(name = "链接地址")
    private String linkUrl;

    /** 首页推荐：0不是，1是 */
    @Excel(name = "首页推荐：0不是，1是")
    private Long recommend;

    /** 推荐序号 */
    @Excel(name = "推荐序号")
    private Long serial;

    /** 类型：待定 */
    @Excel(name = "类型：待定")
    private Long type;

    /** 位置：待定 */
    @Excel(name = "位置：待定")
    private Long place;

    /** 状态（字典 0正常 1冻结 2删除） */
    @Excel(name = "状态", readConverterExp = "字=典,0=正常,1=冻结,2=删除")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAsId(Long asId) 
    {
        this.asId = asId;
    }

    public Long getAsId() 
    {
        return asId;
    }
    public void setPcUrl(String pcUrl) 
    {
        this.pcUrl = pcUrl;
    }

    public String getPcUrl() 
    {
        return pcUrl;
    }
    public void setRelatedId(Long relatedId) 
    {
        this.relatedId = relatedId;
    }

    public Long getRelatedId() 
    {
        return relatedId;
    }
    public void setLinkUrl(String linkUrl) 
    {
        this.linkUrl = linkUrl;
    }

    public String getLinkUrl() 
    {
        return linkUrl;
    }
    public void setRecommend(Long recommend) 
    {
        this.recommend = recommend;
    }

    public Long getRecommend() 
    {
        return recommend;
    }
    public void setSerial(Long serial) 
    {
        this.serial = serial;
    }

    public Long getSerial() 
    {
        return serial;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setPlace(Long place) 
    {
        this.place = place;
    }

    public Long getPlace() 
    {
        return place;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("asId", getAsId())
            .append("pcUrl", getPcUrl())
            .append("relatedId", getRelatedId())
            .append("linkUrl", getLinkUrl())
            .append("recommend", getRecommend())
            .append("serial", getSerial())
            .append("type", getType())
            .append("place", getPlace())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
